/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Eye And Vision Service Provider Technician And Or Technologist HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * abstDomain: A13219 (C-0-T13129-A13130-A13211-A13219-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getEyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA()
 * @model extendedMetaData="name='EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA'"
 * @generated
 */
public enum EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA implements Enumerator {
	/**
	 * The '<em><b>156FC0800N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FC0800N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FC0800N(0, "_156FC0800N", "156FC0800N"),

	/**
	 * The '<em><b>156FC0801N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FC0801N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FC0801N(1, "_156FC0801N", "156FC0801N"),

	/**
	 * The '<em><b>156FX1700N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1700N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1700N(2, "_156FX1700N", "156FX1700N"),

	/**
	 * The '<em><b>156FX1100N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1100N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1100N(3, "_156FX1100N", "156FX1100N"),

	/**
	 * The '<em><b>156FX1101N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1101N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1101N(4, "_156FX1101N", "156FX1101N"),

	/**
	 * The '<em><b>156FX1800N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1800N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1800N(5, "_156FX1800N", "156FX1800N"),

	/**
	 * The '<em><b>156FX1201N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1201N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1201N(6, "_156FX1201N", "156FX1201N"),

	/**
	 * The '<em><b>156FX1202N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1202N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1202N(7, "_156FX1202N", "156FX1202N"),

	/**
	 * The '<em><b>156FX1900N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_156FX1900N_VALUE
	 * @generated
	 * @ordered
	 */
	_156FX1900N(8, "_156FX1900N", "156FX1900N");

	/**
	 * The '<em><b>156FC0800N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FC0800N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FC0800N
	 * @model literal="156FC0800N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FC0800N_VALUE = 0;

	/**
	 * The '<em><b>156FC0801N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FC0801N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FC0801N
	 * @model literal="156FC0801N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FC0801N_VALUE = 1;

	/**
	 * The '<em><b>156FX1700N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1700N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1700N
	 * @model literal="156FX1700N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1700N_VALUE = 2;

	/**
	 * The '<em><b>156FX1100N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1100N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1100N
	 * @model literal="156FX1100N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1100N_VALUE = 3;

	/**
	 * The '<em><b>156FX1101N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1101N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1101N
	 * @model literal="156FX1101N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1101N_VALUE = 4;

	/**
	 * The '<em><b>156FX1800N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1800N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1800N
	 * @model literal="156FX1800N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1800N_VALUE = 5;

	/**
	 * The '<em><b>156FX1201N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1201N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1201N
	 * @model literal="156FX1201N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1201N_VALUE = 6;

	/**
	 * The '<em><b>156FX1202N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1202N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1202N
	 * @model literal="156FX1202N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1202N_VALUE = 7;

	/**
	 * The '<em><b>156FX1900N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>156FX1900N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_156FX1900N
	 * @model literal="156FX1900N"
	 * @generated
	 * @ordered
	 */
	public static final int _156FX1900N_VALUE = 8;

	/**
	 * An array of all the '<em><b>Eye And Vision Service Provider Technician And Or Technologist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA[] VALUES_ARRAY =
		new EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA[] {
			_156FC0800N,
			_156FC0801N,
			_156FX1700N,
			_156FX1100N,
			_156FX1101N,
			_156FX1800N,
			_156FX1201N,
			_156FX1202N,
			_156FX1900N,
		};

	/**
	 * A public read-only list of all the '<em><b>Eye And Vision Service Provider Technician And Or Technologist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Eye And Vision Service Provider Technician And Or Technologist HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Eye And Vision Service Provider Technician And Or Technologist HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Eye And Vision Service Provider Technician And Or Technologist HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA get(int value) {
		switch (value) {
			case _156FC0800N_VALUE: return _156FC0800N;
			case _156FC0801N_VALUE: return _156FC0801N;
			case _156FX1700N_VALUE: return _156FX1700N;
			case _156FX1100N_VALUE: return _156FX1100N;
			case _156FX1101N_VALUE: return _156FX1101N;
			case _156FX1800N_VALUE: return _156FX1800N;
			case _156FX1201N_VALUE: return _156FX1201N;
			case _156FX1202N_VALUE: return _156FX1202N;
			case _156FX1900N_VALUE: return _156FX1900N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //EyeAndVisionServiceProviderTechnicianAndOrTechnologistHIPAA
